import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import MemberRepurchase from '@/components/MemberRepurchase'

import VueToastr from '@deveodk/vue-toastr'
import '@deveodk/vue-toastr/dist/@deveodk/vue-toastr.css'

import $ from 'jquery'

Vue.use(Router)
Vue.use(VueToastr, {
    defaultPosition: 'toast-top-right',
    defaultType: 'info',
    defaultTimeout: 2000
})
Vue.use(Router)

export default new Router({
  mode: "history",
  routes: [
    {
      path: '/',
      name: 'Index',
      component: MemberRepurchase
    },
    {
      path: '/member/repurchase',
      name: 'MemberRepurchase',
      component: MemberRepurchase
    }
  ]
})
